package com.cloud.model.entity;

public class OperatorNode extends ASTNode {
    private String operator; // "AND"/"OR"
    private ASTNode left;
    private ASTNode right;

    public OperatorNode(String operator, ASTNode left, ASTNode right) {
        this.operator = operator;
        this.left = left;
        this.right = right;
    }

    public String getOperator() {
        return operator;
    }

    public ASTNode getLeft() {
        return left;
    }

    public ASTNode getRight() {
        return right;
    }
}